import { createRouter,createWebHistory,RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        name:'Index',
        meta: {
            title: '首页'
        },
        component:()=>import('@/views/home/index.vue')
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router